import {BaseService, Permission, Service} from "@/api/service";

@Service({
	namespace: "sys/role",
})
class SysRole extends BaseService {
	@Permission("listorg")
	listorg(data: any) {
		return this.request({
			url: "/listorg",
			method: "POST",
			data
		});
	}
}

export default new SysRole();
